Skip to content

Enhance SVGSerialize to use zero-padded frame numbers for consistent file sorting.#114

Merged
lemmy merged 2 commits intomasterfrom
mku-SVGPadding
Oct 26, 2025
Merged

Enhance SVGSerialize to use zero-padded frame numbers for consistent file sorting.#114
lemmy merged 2 commits intomasterfrom
mku-SVGPadding

Conversation

@lemmy
Copy link
Member

@lemmy lemmy commented Oct 26, 2025

  • Add IOUtils!zeroPadN function and corresponding tests for zero-padding natural numbers.
  • Enhance SVGSerialize to use zero-padded frame numbers for consistent file sorting.

lemmy added 2 commits October 25, 2025 18:10
…g natural numbers.

[Feature]

Signed-off-by: Markus Alexander Kuppe <github.com@lemmster.de>
…file sorting.

(Up to 99 frames seems reasonable)

The following snippet produces the expected result:
```bash
convert -delay 100 -loop 0 *.svg animation.gif
```

[Feature]

Signed-off-by: Markus Alexander Kuppe <github.com@lemmster.de>
@lemmy lemmy added the enhancement New feature or request label Oct 26, 2025
@lemmy lemmy merged commit 99115df into master Oct 26, 2025
2 checks passed
@lemmy lemmy deleted the mku-SVGPadding branch October 26, 2025 01:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Development

Successfully merging this pull request may close these issues.

1 participant